﻿Public Class MappedTable

    Private _childTableName As String = ""
    Private _parentTableName As String = ""
    Private _childColumnName As String = ""
    Private _parentColumnName As String = ""
    Private _GenerateDefaultConstructor As Boolean = True

    Public Property ChildTableName() As String
        Get
            Return Me._childTableName
        End Get
        Set(ByVal value As String)
            Me._childTableName = value
        End Set
    End Property

    Public Property ParentTableName() As String
        Get
            Return Me._parentTableName
        End Get
        Set(ByVal value As String)
            Me._parentTableName = value
        End Set
    End Property

    Public Property ChildColumnName() As String
        Get
            Return Me._childColumnName
        End Get
        Set(ByVal value As String)
            Me._childColumnName = value
        End Set
    End Property

    Public Property ParentColumnName() As String
        Get
            Return Me._parentColumnName
        End Get
        Set(ByVal value As String)
            Me._parentColumnName = value
        End Set
    End Property

    Public Property GenerateDefaultConstructor() As Boolean
        Get
            Return Me._GenerateDefaultConstructor
        End Get
        Set(ByVal value As Boolean)
            Me._GenerateDefaultConstructor = value
        End Set
    End Property

End Class

